package com.bdqn.service.impl;

import com.bdqn.mapper.BackendUserMapper;
import com.bdqn.pojo.BackendUser;
import com.bdqn.service.BackendUserService;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("backendUserService")
public class BackendUserServiceImpl implements BackendUserService {
    @Resource
    private BackendUserMapper backendUserMapper;

    public BackendUser login(@Param("usermane")String username, @Param("password")String password){
        return backendUserMapper.login( username,password);
    }
}
